package com.example.ktapplication.state

import com.example.ktapplication.bean.CollectBean
import com.example.ktapplication.bean.HomeBannerBean

sealed class CollectState {
    //成功
    data class OnSuccess(var collect: CollectBean?) : CollectState()
    //失败
    data class OnError(var exception: Throwable?) : CollectState()
}